{"componentChunkName":"component---src-templates-blog-template-js","path":"/lessons/osi-model-and-its-layers-in-computer-network","result":{"data":{"lesson":{"content":"### Everything you need to know about OSI Model & Its Layers in Computer Network\n\nThe OSI Model or the Open Systems Interconnection Model is a conceptual framework which describes the functions of a networking system. It is used for the transfer of data over a network which moves through different layers. \n\nIn this article, we shall discuss in detail the OSI Model and its 7 layer architecture.\n\nThe seven layers of an OSI Model include Physical, Data Link, Network, Transport, Session, Presentation, and Application. Using this model, the functioning of a networking system can be easily explained. \n\n#### An Introduction to the OSI Model\n\nBefore learning about the detailed structure of the model and its seven layers, given below are a few points of introduction related to the Open Systems Interconnection Model which one must know. \n\n- In the 1970s the OSI Model was proposed and in the year 1984, it was published by the International Organisation of Standardization (ISO)\n- Using this model, troubleshooting has become easier as the error can be detected at different levels\n- This also helps in understanding the relationship and function of the software and hardware of a computer network\n- The concept that the OSI Model should be a seven-layer structure, was proposed by Charles Bachman at Honeywell Information Systems\n- The model initially did gain much popularity as it could not support the Internet protocol suite which was not acceptable to a lot of IT Companies\n- The seven layers of the structure are divided into two part: the upper layer or the host layer and lower layer or the media layer\n\n#### 7 Layers of the OSI Model\n\n![Layers-of-OSI-Model.jpg](https://res.cloudinary.com/hfffgjhffgkjnkjfg/image/upload/v1635096323/Layers_of_OSI_Model_a0d6017786.jpg)\n\nDiscussed below is each stage of the Open Systems Interconnection Model in detail. Candidates are advised to go through these carefully to understand the structure and the functioning of the model in a systematic manner:\n\n\n**1. Physical Layer**\n\n- It is the bottom-most or the first layer of the OSI Model\n- It comprises the raw data which is further transmitted to the higher layers of the structure\n- Preparing the physical devices in the network and accepting the received data for transmission\n- The termination of connection between two nodes of a network also takes place at this stage\n- This layer converts the digital bits into electrical, radio, or optical signals\n\n**2. Data Link Layer**\n\n- Access to get the data is achieved at this layer\n- It breaks the input data into frames which makes analysing the data easier\n- Ensures that the data received is free of any errors\n- It controls the flow of data in the stipulated time duration and along with a set speed of transmission\n- The data is sent to the next layer in the form of packets which are then reviewed for further processing\n\n**3. Network Layer**\n\n- It acts as a network controller\n- Transferring of variable data from one node to another, connected in a network, takes place at this layer \n- Each node has a specific address and the network layer ensures that the data is sent to its destination address\n- The data is sent in the form of fragments which are then connected to each other once the processing is done\n\n**4. Transport Layer**\n\n- The delivery of data packets is managed by the transport layer\n- It manages the flow of data, segmentation and desegmentation and error control\n- There are five classes of the transport protocol, starting from 0 and continuing till 4 (TP0 to TP4)\n- Fragmentation and reassembly of data packets occur that this stage\n\n**5. Session Layer**\n\n- The connection between the computers connected in a network is managed at this layer\n- Establishment, management and termination between the remote and local application takes place here\n- Authentication and authorisation happen at this layer\n- This layer can also terminate or end any session or transmission which is complete\n\n**6. Presentation Layer**\n\n- The data is converted into the syntax or semantics which an application understands\n- Before passing on the data any further, the data is formatted at this stage\n- Functions including compression, encryption, compatible character code set, etc. are also done at this layer of the model\n- It serves as a data translator for the network\n\n**7. Application Layer**\n\n- The interaction with the user or the user application takes place at this stage\n- When identifying communication partners, the application layer determines the identity and availability of communication partners for an application with data to transmit\n- On the whole, the entire process of transfer of raw data into processed data and finally to the user or the application can be done through this OSI model. It can detect eros, transmit the data and format it during the course of the above-mentioned seven layers.\n\n#### Frequently Asked Questions on OSI Model\n\n**Q 1. What is the full form of OSI?**\n\nAns. OSI stands for Open System Interconnection Model.\n\n**Q 2. What is the purpose of an OSI Model?**\n\nAns. The purpose of an OSI Model is to describe the functions of a networking system. It defines a hierarchical structure of conversion of raw data to processed information through the different layers.\n\n**Q 3. What are the different layers of the OSI Model?**\n\nAns. There are 7 layers of the OSI Model:\n\n- Physical Layer\n- Data Link Layer\n- Network Layer\n- Transport Layer\n- Session Layer\n- Presentation Layer\n- Application Layer\n\n**Q 4. What is the difference between the OSI Model and TCP/IP Model?**\n\nAns. The TCP/IP or the Transmission Control Protocol/ Internet Protocol is a communication protocols suite. On the other hand, the Open Systems Interconnection is a conceptual framework, using which the functioning of a network can be described.\n\n\n\n\n"}},"pageContext":{"slug":"osi-model-and-its-layers-in-computer-network"}},"staticQueryHashes":[]}